package org.drushpal.view.panels
{
	import mx.binding.utils.BindingUtils;
	
	import org.drushpal.service.DrushService;
	import org.robotlegs.mvcs.Mediator;
	
	public class HistoryPanelMediator extends Mediator
	{
		[Inject]public var drushService:DrushService;
		[Inject]public var historyPanel:HistoryPanel;
		override public function onRegister():void{
			BindingUtils.bindProperty(historyPanel.dgHistory,"dataProvider",drushService,"running");
		}
	}
}